﻿using System;
using System.Collections.Generic;

namespace Sendz.Domain
{
    // Skipping data annotations and validation in this class since it's primarily a data cross-reference class
    public class FieldType
    {
        // Entity
        public Guid FieldTypeKey { get; set; }
        public string Name { get; set; }
        public string ListEnum { get; set; }
        public string RequiredErrorTemplate { get; set; }
        public string RegEx { get; set; }
        public string RegExError { get; set; }
        public Int16 SortOrder { get; set; }
        public DateTime CreatedOn { get; set; }

        // Parent
        public List<FormField> FormFields { get; set; }

        // Skipping constructor since this is primarily a read-only reference
    }
}
